//
//  SNHStaticTableViewCellInfo.h
//  Pods
//
//  Created by 陈建蕾 on 2018/6/9.
//

#import "SNHStaticTableViewUserInfo.h"

NS_ASSUME_NONNULL_BEGIN

@interface SNHStaticTableViewCellInfo : SNHStaticTableViewUserInfo
@property (nonatomic, assign) UITableViewCellAccessoryType accessoryType;
@property (nonatomic, assign) UITableViewCellSelectionStyle selectionStyle;
@property (nonatomic, assign) UITableViewCellSeparatorStyle separatorStyle;
@property (nonatomic, assign) UITableViewCellStyle cellStyle;

@property (nonatomic, assign) SEL action;
@property (nonatomic, weak) id target;

@property (nonatomic, assign) SEL makeAction;
@property (nonatomic, weak) id makeTarget;

@property (nonatomic, weak) id targetForSwitch;

@property (nonatomic, assign) CGFloat height;
@property (nonatomic, strong) NSIndexPath *indexPath;

/** 默认 */
+ (instancetype)defaultCellInfo;

/** 无点击事件 */
+ (instancetype)normalCellForTitle:(NSString *)title rightValue:(NSString *)rightValue;

/** 无事件，有左边图片 */
+ (instancetype)normalCellForTitle:(NSString *)title rightValue:(NSString *)rightValue imageName:(NSString *)imageName;

/** 有事件，无图片 */
+ (instancetype)normalCellForTarget:(id)target action:(SEL)action title:(NSString *)title rightValue:(NSString *)rightValue accessoryType:(UITableViewCellAccessoryType)accessoryType;

/** 有事件，有左边图片 */
+ (instancetype)normalCellForTarget:(id)target action:(SEL)action title:(NSString *)title rightValue:(NSString *)rightValue imageName:(NSString *)imageName accessoryType:(UITableViewCellAccessoryType)accessoryType;

/** title居中 */
+ (instancetype)centerCellForTarget:(id)target action:(SEL)action title:(NSString *)title;

/** UISwitch类型 */
+ (instancetype)switchCellForTarget:(id)target action:(SEL)action title:(NSString *)title isOn:(BOOL)isOn;

/** 自动以类型 */
+ (instancetype)makeCellForTarget:(id)targer action:(SEL)action makeTarget:(id)makeTarget makeAction:(SEL)makeAction height:(CGFloat)height accessoryType:(UITableViewCellAccessoryType)accessoryType userInfo:(NSDictionary *)userInfo;


@end

NS_ASSUME_NONNULL_END
